using UnityEngine;

[CreateAssetMenu(fileName = "New CritRatPotion", menuName = "Inventory/PowerUpItem/CritRatPotion（暴击率）")]
public class CritRatPotion : PowerUpItem
{
    public CritRatPotion()
    {
        critRateBoost = 10f;
    }

    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，暴击率增加了 {critRateBoost} 点。");
    }
}